<?php
namespace Admin\Controller;
use Admin\Controller\BaseController;
class ApptypeController extends BaseController {
    
    public function _initialize(){
        $this->tbl = 'apptype';
        $this->model = D($this->tbl);
    }

    public function index(){
        parent::index($this->tbl,'zjs_typeid desc');
    }
    public function view(){
    	$id = I('get.id');

    }
    public function form(){
        $fts = M('ftype')->select();
        $this->assign('fts',$fts);
    	parent::form($this->tbl);
    }
    public function add(){
    	parent::add($this->tbl);
    }
    public function mod(){
    	
    }
    public function update(){
    	
    }
    public function delete(){
    	
    }
   
    
}